﻿using MediatR;
using PublicClass;

namespace S.Produce.Api.Application.Commands.HistoryCommands
{
    /// <summary>
    /// 种母历史记录添加
    /// </summary>
    public class HistoryCreateCommand:AuditFields,IRequest<int>
    {
        /// <summary>
        /// 主键编号
        /// </summary>
        public int RecordId { get; set; }

        /// <summary>
        /// 耳号
        /// </summary>
        public string? Earbugles { get; set; }

        /// <summary>
        /// 配种日期
        /// </summary>
        public DateTime? BreedingDate { get; set; }


        /// <summary>
        /// 种公耳号
        /// </summary>
        public string? SeedMaleEarbugles { get; set; }


        /// <summary>
        /// 妊检日期
        /// </summary>
        public DateTime? PregnancyCheckDate { get; set; }


        /// <summary>
        /// 妊检结果
        /// </summary>
        public string? PregnancyCheckResult { get; set; }


        /// <summary>
        /// 分娩日期
        /// </summary>
        public DateTime? DeliveryDate { get; set; }

        /// <summary>
        /// 健羔数
        /// </summary>
        public int? HealthyLambNumber { get; set; }


        /// <summary>
        /// 健羔总重
        /// </summary>
        public decimal? HealthyLambWeight { get; set; }

        /// <summary>
        /// 弱羔数
        /// </summary>
        public int? WeakLambNumber { get; set; }

        /// <summary>
        /// 畸形数
        /// </summary>
        public int? DeformityNumber { get; set; }

        /// <summary>
        /// 死胎数
        /// </summary>
        public int? StillbirthNumber { get; set; }

        /// <summary>
        /// 木乃伊数
        /// </summary>
        public int? MummyNumber { get; set; }

        /// <summary>
        /// 畸胎数
        /// </summary>
        public int? FreaksNumber { get; set; }

        /// <summary>
        /// 当前胎次
        /// </summary>
        public int? AtPresentParity { get; set; }

        /// <summary>
        /// 断奶日期
        /// </summary>

        public DateTime? WeaningDate { get; set; }

        /// <summary>
        /// 断奶只数
        /// </summary>
        public int? WeaningNumber { get; set; }

        /// <summary>
        /// 断奶窝重
        /// </summary>
        public decimal? WeightOfWeaningLitter { get; set; }

        /// <summary>
        /// 胎次结束标识
        /// </summary>
        public bool IsEnd { get; set; }
    }
}
